package com.test.jwebsocket.websocket;

import org.jwebsocket.console.JWebSocketSubSystemSample;

public class JWebSocketServer {
	
	public static void main(String[] args){
		JWebSocketSubSystemSample jWebSocketSubSystem = new JWebSocketSubSystemSample();
		// JWebSocketServer
		jWebSocketSubSystem.addListener(new JWebSocketTokenListenerSample());
		
		jWebSocketSubSystem.start();
		jWebSocketSubSystem.run();
		jWebSocketSubSystem.stop();
	}
}
